package org.yellow.backend.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;
import org.yellow.backend.utility.prescriptionStatus;

import java.util.Date;

/**
 * 处方表
 * @author: hy
 * @create: 2024-01-01
 */
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "prescriptions")
public class prescription {
    @TableId(type = IdType.AUTO)
    private Long PrescriptionId;
    private Long PatientId;
    private Long DoctorId;
    private Date PrescriptionDate;
    private prescriptionStatus Status;
    private String content;
}
